package com.loooooo.pm2024.data;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.loooooo.pm2024.config.BigIDSerialize;

import java.io.Serializable;

public class LongIdName implements Serializable {

    public LongIdName() {
    }

    public LongIdName(Long id, String name) {
        this.id = id;
        this.name = name;
    }


    @JsonSerialize(using = BigIDSerialize.class)
    private Long id;
    private String name;

    public Long getId() {
        return id;
    }

    public LongIdName setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public LongIdName setName(String name) {
        this.name = name;
        return this;
    }

}
